val str = "abcd" val array: Array<String> = str.toCharArray().map { it.toString() }.toTypedArray()